x11: Store last axes from device
authorCarlos Garnacho <carlosg@gnome.org>
Mon, 2 Mar 2015 17:19:16 +0000 (18:19 +0100)
committerCarlos Garnacho <carlosg@gnome.org>
Mon, 2 Mar 2015 17:57:04 +0000 (18:57 +0100)
commit4cae9bdd05fba480766e791f0d140c2d8f54da62
treeac8947c4a874327e9b9224557dfc5f702991b71e
parent3ccfcf5b9f0285be7b2423a22f17a2eaea774f49
x11: Store last axes from device

And use these for the missing axes if the valuator mask is incomplete.
This used to work fine on tablets because the Wacom driver ensures all
valuators are sent, which is not true if using the evdev driver.

https://bugzilla.gnome.org/show_bug.cgi?id=703610
gdk/x11/gdkdevice-xi2.c
gdk/x11/gdkdevicemanager-xi2.c
gdk/x11/gdkprivate-x11.h